/*
 * TextBufferCase.cpp
 *
 *  Created on: 2012-9-9
 *      Author: yangentao@gmail.com
 */

#include "test.h"

#include "../ed/TextBuffer.h"

class TextBufferTest: public TextBuffer, public testing::Test{

};

TEST_F(TextBufferTest, constructor){
	doAction(Action(0, 0, "a\nb\nc"));

	EXPECT_EQ(getLineCount(), 3);
}



